package com.maila.xiaoaoschool.entity;

import java.util.List;

/**
 * 购物车列表
 * Created by mark on 2017/12/16.
 */

public class Cartdata {

    /**
     * result : 1
     * message : 展示成功
     * data : [{"userid":"3040","goodsid":"2001","goodsname":"地三鲜盖浇饭","goodscost":"300.00","goodscount":"10","shopid":"211"},{"userid":"3040","goodsid":"2000","goodsname":"朝鲜冷面","goodscost":"120.00","goodscount":"6","shopid":"211"}]
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * userid : 3040
         * goodsid : 2001
         * goodsname : 地三鲜盖浇饭
         * goodscost : 300.00
         * goodscount : 10
         * shopid : 211
         */

        private String userid;
        private String goodsid;
        private String goodsname;
        private String goodscost;
        private String goodscount;
        private String shopid;

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getGoodsid() {
            return goodsid;
        }

        public void setGoodsid(String goodsid) {
            this.goodsid = goodsid;
        }

        public String getGoodsname() {
            return goodsname;
        }

        public void setGoodsname(String goodsname) {
            this.goodsname = goodsname;
        }

        public String getGoodscost() {
            return goodscost;
        }

        public void setGoodscost(String goodscost) {
            this.goodscost = goodscost;
        }

        public String getGoodscount() {
            return goodscount;
        }

        public void setGoodscount(String goodscount) {
            this.goodscount = goodscount;
        }

        public String getShopid() {
            return shopid;
        }

        public void setShopid(String shopid) {
            this.shopid = shopid;
        }
    }
}
